package main

import "fmt"

func main() {
	fmt.Println("hello world")
	a := [4]int{1, 2, 3, 4}
	fmt.Printf("a: %v, len: %d, cap: %d \n", a, len(a), cap(a))
	for _, v := range a {
		fmt.Println(v)
	}
	for i := 0; i < len(a); i++ {
		fmt.Println(a[i])
	}
	a1 := [4]int{1, 2, 3}
	fmt.Printf("a1: %v, len: %d, cap: %d \n", a1, len(a1), cap(a1))
	for _, v := range a1 {
		fmt.Println(v)
	}
}

